﻿using RayDen.Library.Components;
using RayDen.Library.Components.Surface;
using RayDen.Library.Entity.Plugins;
using RayDen.Library.Entity.Scene;

namespace RayDen.RayEngine.Managers
{
    public class MaterialPlugin : MaterialLibraryPlugin
    {
        public IMaterialLibrary<ISurfaceMaterial> GetLibrary(MaterialInfo[] materials)
        {
            var library = new OptimizedBsdfLibrary();
            library.Populate(materials);
            return library;
        }

        
    }
}